package com.itpuyang.design23.bridge;

public class Test {
    public static void main(String[] args) {

        //苹果 笔记本
        Computer computer = new Laptop(new Apple());
        computer.info();

        //联想台式机
        Desktop computer2 = new Desktop(new Lenovo());
        computer2.info();
    }
}
